package com.megalith.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.flowable.engine.task.Comment;

import java.util.List;

/**
 * @Description
 * @Author lfp
 * @Date 2022/7/15
 * @Version 1.0
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "HistoricActivityInstanceEntityVO",description = "历史任务信息VO")
public class HistoricTaskInstanceVO extends TaskEntityVO{
    @ApiModelProperty("任务编号")
    private String id;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("耗时（MS）")
    private Long durationInMillis;

    @ApiModelProperty("评论")
    List<Comment> comments;
}
